<body>
{$body}



<div class="header">
	<div id="logo">
		<a href="{$website_url}">
		<img alt="logo" src="{$logo_url}#">
		</a>
	</div>

	<ul id="menu" class="menu">
		{$menu}
	</ul>
</div>

<div id="body-wrapper" class="clearfix"><!--start body-wrapper-->
<div class="clear"></div>
	


<div class="box">
    <div id="comment_count">
        <div id="_orongo_ajax_comment_count">{$article->getCommentCount()}</div> comments
    </div>
    <h1>{$article->getTitle()}</h1>  
    <p>Written by <a href="{$website_url}archive.php?user={$article->getAuthorName()}">{$article->getAuthorName()}</a> on {$article->getDate()}</p>
</div>
{$before_article}
{$article->getContent()}
<br /><br /><br />{$after_article}
<div class="comments">
    <h3>Comments</h3>
    <div id="_orongo_ajax_comments">       
        {$comments}         
    </div>
</div>

<div class="new_comment">
    <h2>Post a new comment</h2>

    {if condition="isset($user)"}
    <form class="new_comment_form" id="_orongo_ajax_comment_form">
         <textarea name="_orongo_ajax_new_comment" rows="5">Comment</textarea>
         <input type="submit" value="Post" />
    </form>
    {else}
    <br />
    <p>You need to be <a href="{$website_url}orongo-login.php">logged in</a> in order to post comments!</p>
    {/if}

</div>

<br /><br /><br />
    
<div class="clear"></div>

